package com.iwop.moto.service;

import com.iwop.moto.model.FGoods;
import com.iwop.moto.model.SuperRecordModel;
import org.springframework.stereotype.Controller;

import java.util.List;

/**
 * @author Created by liuwb on 2016/7/15.
 */
@Controller
public interface IFGoodsService {
    /**
     ***************************************************************************************
     ********************************** Moto配件信息(F_GOODS) ********************************
     ***************************************************************************************
     **/

    List<FGoods> findFGoodsList();

    List<SuperRecordModel> findFGoodsListSRModel(SuperRecordModel SRModel);

    void updateByPrimaryKeySelective(SuperRecordModel SRModel );

    SuperRecordModel selectByPrimaryKey(Long id );

    void updateFgoodsStatus(SuperRecordModel SRModel );

    SuperRecordModel findFGoodsTotalPage(SuperRecordModel SRModel );

    void delFgoodsImg(SuperRecordModel SRModel );

    /**
     ***************************************************************************************
     ********************************* Moto整车信息(F_MOTO) **********************************
     ***************************************************************************************
     **/

    List<SuperRecordModel> searchFmotoList(SuperRecordModel SRModel);

    SuperRecordModel findFmotoTotalPage(SuperRecordModel SRModel);

    SuperRecordModel findFmotoBySid(SuperRecordModel SRModel );

    void insertMotoSelective(SuperRecordModel SRModel);

    void updeteSelective(SuperRecordModel SRModel);

    void updateFMotoStatus(SuperRecordModel SRModel);

    SuperRecordModel findFmotoByName(SuperRecordModel SRModel);

    SuperRecordModel findFmotoByUrl(SuperRecordModel SRModel);
}
